#ifndef LOGIN_H
#define LOGIN_H

#include <QWidget>

namespace Ui {
class Login;
}

class Login : public QWidget
{
    Q_OBJECT

public:
    explicit Login(QWidget *parent = nullptr);


    void paintEvent(QPaintEvent *event) override;

    ~Login();

signals:
    void closeWindow();
    void login(const QString& usernumber, const QString& password);
    void userRegister();

//    void sceneChange();

private slots:
    void on_close_window_clicked();

    void on_login_clicked();

    void on_pushButton_clicked();

private:
    Ui::Login *ui;
    QPixmap m_avatarPixmap;
};

#endif // LOGIN_H
